﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Registration.aspx.cs" Inherits="Freejobber.Pages.Registration" ValidateRequest="false" %>
<%@ OutputCache Duration ="66666" VaryByParam="none" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="ru" xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Регистрация на  freejobber.ru</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <meta name="Robots" content="INDEX, FOLLOW" />
    <meta name="description" content="Default Description" />
    <meta name="keywords" content="" />

    <link type="text/css" rel="stylesheet" href="../Master/css/style.css" />
    <link type="text/css" rel="stylesheet" href="../Master/css/btn.css" />
</head>
<body class="simple_page">
    <form runat="server">
        <div id="wrapper" runat="server">
            <div class="inner_content">
                <!-- Start Header -->
                <div id="header">
                    <h1 style="margin-left: 5px;" class="logo">
                        <strong>freejobber</strong>
                        <a class="logo" title="freejobber" href="#">
                            <img alt="freejobber" src="../master/images/logo.png" />
                        </a>
                    </h1>

                    <div class="head_text">
                        <h1>Регистрация</h1>
                    </div>
                </div>
                <!-- End Header -->
                <!-- Start Main -->
                <div id="main">
                    <div class="pagelet">
                        <div class="pagelet_inner">
                            <div class="line_form">
                                <div class="col_form_first">Имя пользователя</div>
                                <div class="col_form_second">
                                    <div class="input">
                                        <div class="inner">

                                            <asp:TextBox ID="tbLogin" ClientIDMode="Static"
                                                CssClass="validate need" MaxLength="30" runat="server" />


                                        </div>
                                    </div>
                                </div>
                                <div class="clear hidden"></div>
                            </div>
                            <div class="line_form">
                                <div class="col_form_first">Пароль</div>
                                <div class="col_form_second">
                                    <div class="input">
                                        <div class="inner">
                                            <asp:TextBox ID="tbPassword" ClientIDMode="Static"
                                                TextMode="Password" CssClass="validate need" MaxLength="30" runat="server" />
                                        </div>
                                    </div>
                                </div>
                                <div class="clear hidden"></div>
                            </div>

                            <div class="line_form ">
                                <div class="col_form_first">Электронная почта</div>
                                <div class="col_form_second">
                                    <div class="input">
                                        <div class="inner">
                                            <asp:TextBox ID="tbEmail" ClientIDMode="Static"
                                                CssClass="validate need email bold" MaxLength="50" runat="server" />
                                        </div>
                                    </div>
                                </div>
                                <div class="clear hidden"></div>
                            </div>

                            <div class="line_form">
                                <div class="col_form_first">Тип пользователя</div>
                                <div class="col_form_second">
                                    <asp:RadioButtonList ClientIDMode="Static" runat="server" ID="rblUserType" CssClass="validate need radio">
                                        <asp:ListItem Text="Исполнитель&nbsp;&nbsp;(Аккаунт испонителя который может сделать какую то работу)" Selected="True" />
                                        <asp:ListItem Text="Заказчик&nbsp;&nbsp;(Аккаунт заказчика которому нужно выполнить работу)" />
                                        <asp:ListItem Text="Компания&nbsp;&nbsp;(Аккаунт компании )" />
                                    </asp:RadioButtonList>

                                </div>
                                <div class="clear hidden"></div>
                            </div>



                            <div class="head_form">
                                <div class="col_form_first">&nbsp;</div>
                                <div class="col_form_second">&nbsp;</div>
                                <div class="clear hidden"></div>
                            </div>

                            <div class="line_form margin_to_head">
                                <div class="col_form_first">&nbsp;</div>
                                <div class="col_form_second">
                                    <label class="f11">
                                        <asp:CheckBox CssClass="validate need checkbox" runat="server"
                                            ClientIDMode="Static" ID="chPublicOffer" />

                                        <span class="label_in">Я прочитал и принимаю <a target="_blank" href="#">публичную оферту</a></span>
                                    </label>
                                </div>
                                <div class="clear hidden"></div>
                            </div>

                            <div class="line_form">
                                <div class="col_form_first">&nbsp;</div>
                                <div class="col_form_second">
                                    <asp:Button CssClass="btn btn_registration_big  f-left" runat="server" OnClick="btnRegistrtionClick"
                                        ClientIDMode="Static" ID="btnRegister" /><br />
                                    <asp:CustomValidator runat="server" Width="1px" ID="valLoginName" ControlToValidate="tbLogin"
                                        OnServerValidate="valTimeRange_ServerValidate" Text="*" />
                                </div>
                                <div class="clear hidden"></div>
                            </div>


                        </div>
                    </div>
                    <!-- End Pagelet -->
                </div>

                <!-- End Main -->
                <div class="push"></div>
            </div>
        </div>
        <div id="divRegOK" runat="server" visible="false">
            Спасибо за регистрацию! EMAIL бла бла бла
        </div>
    </form>
</body>
</html>
